package router

import (
	"api-gateway/handler"
	"github.com/gin-gonic/gin"
)

func LordRouter(r *gin.Engine) {
	api := r.Group("/api")
	{
		order := api.Group("/order")
		{
			order.POST("/list", handler.ListOrder)
			order.POST("/add", handler.AddOrder)
			order.POST("/buy", handler.BuyOrder)
			order.POST("/like", handler.Like)
		}
	}
}
